class Animal:
    def eat(self):
        print("吃")
    def drink(self):
        print("喝")
    def run(self):
        print('跑')
    def sleep(self):
        print('睡')
class Dog(Animal):
    def bark(self):
        print('我是阿汪')

class Awang(Dog):
    def introduction(self):
        print('[阿汪]是个小菜鸡')
    def bark(self):
        #方法的重写，扩展
        print('我天天晚上就搁那叫')
        return super().bark()

wjh = Awang()
wjh.eat()
wjh.introduction()
wjh.bark()